//
//  MusicPlayerView.h
//  product_B
//
//  Created by zyc on 16/5/31.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MusicModel.h"
#import "MusicAuthorModel.h"
#import "MusicPlayerModel.h"
#import "UserViewController.h"
@protocol ClickDelegate <NSObject>
- (void)click:(UserViewController *)user;
@end

@interface MusicPlayerView : UIView
@property (nonatomic, strong)MusicModel *model;
@property (nonatomic, assign)BOOL isFirst;
@property (weak, nonatomic) IBOutlet UIImageView *picture;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *author;
@property (weak, nonatomic) IBOutlet UILabel *desc;
@property (weak, nonatomic) IBOutlet UILabel *time;
@property (weak, nonatomic) IBOutlet UIButton *button;
@property (nonatomic, strong)id<ClickDelegate>delegate;
- (void)configureWithModel:(MusicModel *)model;

@end
